﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AllWorkTask.aspx.cs" Inherits="BasePages_MyWorkTask" Culture="auto" meta:resourcekey="PageResource1" UICulture="auto" %>
<%@ Register Assembly="YYWebControl" Namespace="YYWebControl.YYSimpleCalendar" TagPrefix="YYWebControl" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <LINK href="../CSS/hfmanger.css" type="text/css" rel="stylesheet">
</head>
<body onload="remove_loading();">
    <form id="form1" runat="server">
    <div>
                <table width="100%" >
                    <tr>
                        <td align="left" class="toolbar" colspan="3" style="height: 23px" valign="middle">
            <asp:Image ID="Image1" runat="server" ImageUrl="../images/rss_2.gif" meta:resourcekey="Image1Resource1" /><strong>我参与的任务</strong></td>
                    </tr>
                    <tr>
                        <td align="left"  colspan="3" class="blackbar" valign="middle">
                        </td>
                    </tr>
                    <tr>
                        <td align="center" class="blackbar" colspan="3" valign="middle">
                            <table style="width: 98%">
                                <tr>
                                    <td class="listContent">
                  <asp:CheckBox ID="cbxWorkflowCaption" runat="server" Text="业务名:" meta:resourcekey="cbxWorkflowCaptionResource1" /><asp:TextBox ID="tbxFlowInsCaption" runat="server" Width="131px" meta:resourcekey="TextBox1Resource1"></asp:TextBox><asp:CheckBox ID="cbxDatetime" runat="server" Text="到达时间：从" meta:resourcekey="cbxDatetimeResource1" /><YYWebControl:YYSimpleCalendar ID="YYSimpleCalendar1" runat="server" meta:resourcekey="YYSimpleCalendar1Resource1" />
                    到<YYWebControl:YYSimpleCalendar ID="YYSimpleCalendar2" runat="server" meta:resourcekey="YYSimpleCalendar2Resource1" />
                            <asp:ImageButton ID="ImageButton1" runat="server" Height="20px" ImageUrl="../images/查询.gif"
                                Width="39px" meta:resourcekey="ImageButton1Resource1" OnClick="ImageButton1_Click" /></td>
                                   
                                </tr>
                                
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" class="blackbar" colspan="3"  valign="middle">
                        &nbsp;
                    <asp:Image ID="Image2" runat="server" ImageUrl="~/images/0.ico" />
                    正常任务&nbsp;&nbsp;&nbsp;&nbsp; 
                    <asp:Image ID="Image3" runat="server" ImageUrl="~/images/5.ico" />
                            指派或退回的任务</td>
                    </tr>
                    <tr>
                        <td align="center" class="blackbar" colspan="3" valign="middle">
                    <table style="width: 98%">
                        <tr>
                            <td class="listContent" >
                    <asp:GridView ID="gvAllTask" runat="server" AutoGenerateColumns="False"
                        CellPadding="4" ForeColor="#333333" OnSelectedIndexChanged="gvCompletedTask_SelectedIndexChanged"
                        PageSize="15" Width="100%" GridLines="None" meta:resourcekey="gvAbnormalTaskResource1" OnRowDataBound="gvAllTask_RowDataBound">
                        <FooterStyle BackColor="Black" Font-Bold="True" ForeColor="Black" />
                        <RowStyle BackColor="#EFF3FB" />
                        <Columns>
                         <asp:ImageField DataImageUrlField="status" DataImageUrlFormatString="../images/{0}.ico">
                            </asp:ImageField>
                            <asp:BoundField DataField="WorkFlowNo" HeaderText="流程编号" meta:resourcekey="BoundFieldResource1">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:HyperLinkField DataNavigateUrlFields="WorkTaskInstanceId,OperatorInstanceId" DataNavigateUrlFormatString="WorkTaskCtrlPage.aspx?WorkTaskInstanceId={0}&amp;OperatorInstanceId={1}&amp;state=查看"
                                DataTextField="FlowInstanceCaption" HeaderText="业务名" Target="_blank" meta:resourcekey="HyperLinkFieldResource1">
                                <ItemStyle Width="200px" />
                            </asp:HyperLinkField>
                            <asp:BoundField DataField="TaskCaption" HeaderText="任务名" meta:resourcekey="BoundFieldResource2">
                                <ItemStyle Width="150px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="pOperatedDes" HeaderText="提交人" meta:resourcekey="BoundFieldResource3">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Priority" HeaderText="优先级">
                                <HeaderStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="taskStartTime" HeaderText="开始时间" meta:resourcekey="BoundFieldResource4">
                                <ItemStyle Width="200px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="taskEndTime" HeaderText="结束时间" meta:resourcekey="BoundFieldResource5">
                                <ItemStyle Width="200px" />
                            </asp:BoundField>
                            <asp:HyperLinkField DataNavigateUrlFields="workflowId,workflowInstanceId" DataNavigateUrlFormatString="WorkflowMap.aspx?workflowId={0}&amp;workflowInstanceId={1}"
                                HeaderText="查看" Target="_blank" Text="流程图" meta:resourcekey="HyperLinkFieldResource2">
                                <ItemStyle Width="70px" />
                            </asp:HyperLinkField>
                            <asp:BoundField DataField="TaskInsDescription" HeaderText="备注">
                                    <ItemStyle Width="100px" />
                                </asp:BoundField>
                        </Columns>
                        <PagerStyle ForeColor="Black" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <HeaderStyle  Font-Bold="True" ForeColor="Black" HorizontalAlign="Left" CssClass="gridHead" />
                        <EditRowStyle BackColor="#2461BF" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                               </td>
                            
                        </tr>
                    </table>
                        </td>
                    </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
